How to restrict the choice of a user in python

join shbcf.ru